package com.boco.pciv.common.exception;

import com.boco.pciv.core.exception.PcivException;

/**
 * Created by CC on 2017/8/30.
 * 业务模块自定义异常
 */
public class BizException extends PcivException {

    public BizException(BizExceptionEnum bizExceptionEnum) {
        super(bizExceptionEnum.getCode(), bizExceptionEnum.getMsg());
    }

    public BizException(int code, String msg) {
        super(code, msg);
    }
}
